/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package databook.filter;

import databook.WeightTree;

import prefuse.visual.VisualItem;

/**
 *
 * @author zach
 */
public interface DataFilter {
    public static short IN_PERCENTAGE = 0x02;
    public static short OUT_PERCENTAGE = 0x04;
    public static short USE_SIZE = 0x01;
    
    public boolean filter(String prop, String val);
    public void addFilterListener(FilterListener l);
    public boolean removeFilterListener(FilterListener l);
    public void notifyFilterListeners(FilterEvent event);
    public boolean doNormalize();
    public boolean doHighlightIn();
    public boolean doHighlightOut();
    public boolean doAutoLayout();
    public int getThreshhold();
    public void setMaxThreshhold(int max);
    public void selectItem(VisualItem item);
    public void setFilterValue(String p, String v, boolean vis);
    public void setFilterValue(String p, String v, boolean vis, boolean notify);
    public short getSizeMode();
    //public void setStackedGraphs(WeightTree wt);
    //public void setSelectedName(String name);
}

